﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000B37 RID: 2871
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MissionGroupWarnScNotify : IMessage<MissionGroupWarnScNotify>, IMessage, IEquatable<MissionGroupWarnScNotify>, IDeepCloneable<MissionGroupWarnScNotify>, IBufferMessage
	{
		// Token: 0x1700243B RID: 9275
		// (get) Token: 0x0600806D RID: 32877 RVA: 0x00156988 File Offset: 0x00154B88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MissionGroupWarnScNotify> Parser
		{
			get
			{
				return MissionGroupWarnScNotify._parser;
			}
		}

		// Token: 0x1700243C RID: 9276
		// (get) Token: 0x0600806E RID: 32878 RVA: 0x0015698F File Offset: 0x00154B8F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MissionGroupWarnScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700243D RID: 9277
		// (get) Token: 0x0600806F RID: 32879 RVA: 0x001569A1 File Offset: 0x00154BA1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MissionGroupWarnScNotify.Descriptor;
			}
		}

		// Token: 0x06008070 RID: 32880 RVA: 0x001569A8 File Offset: 0x00154BA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MissionGroupWarnScNotify()
		{
		}

		// Token: 0x06008071 RID: 32881 RVA: 0x001569BB File Offset: 0x00154BBB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MissionGroupWarnScNotify(MissionGroupWarnScNotify other) : this()
		{
			this.groupIdList_ = other.groupIdList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008072 RID: 32882 RVA: 0x001569E5 File Offset: 0x00154BE5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MissionGroupWarnScNotify Clone()
		{
			return new MissionGroupWarnScNotify(this);
		}

		// Token: 0x1700243E RID: 9278
		// (get) Token: 0x06008073 RID: 32883 RVA: 0x001569ED File Offset: 0x00154BED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> GroupIdList
		{
			get
			{
				return this.groupIdList_;
			}
		}

		// Token: 0x06008074 RID: 32884 RVA: 0x001569F5 File Offset: 0x00154BF5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MissionGroupWarnScNotify);
		}

		// Token: 0x06008075 RID: 32885 RVA: 0x00156A03 File Offset: 0x00154C03
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MissionGroupWarnScNotify other)
		{
			return other != null && (other == this || (this.groupIdList_.Equals(other.groupIdList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008076 RID: 32886 RVA: 0x00156A38 File Offset: 0x00154C38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.groupIdList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008077 RID: 32887 RVA: 0x00156A6C File Offset: 0x00154C6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008078 RID: 32888 RVA: 0x00156A74 File Offset: 0x00154C74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008079 RID: 32889 RVA: 0x00156A7D File Offset: 0x00154C7D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.groupIdList_.WriteTo(ref output, MissionGroupWarnScNotify._repeated_groupIdList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600807A RID: 32890 RVA: 0x00156AA4 File Offset: 0x00154CA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.groupIdList_.CalculateSize(MissionGroupWarnScNotify._repeated_groupIdList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600807B RID: 32891 RVA: 0x00156ADD File Offset: 0x00154CDD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MissionGroupWarnScNotify other)
		{
			if (other == null)
			{
				return;
			}
			this.groupIdList_.Add(other.groupIdList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600807C RID: 32892 RVA: 0x00156B0B File Offset: 0x00154D0B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600807D RID: 32893 RVA: 0x00156B14 File Offset: 0x00154D14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 80U && num != 82U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.groupIdList_.AddEntriesFrom(ref input, MissionGroupWarnScNotify._repeated_groupIdList_codec);
				}
			}
		}

		// Token: 0x04003121 RID: 12577
		private static readonly MessageParser<MissionGroupWarnScNotify> _parser = new MessageParser<MissionGroupWarnScNotify>(() => new MissionGroupWarnScNotify());

		// Token: 0x04003122 RID: 12578
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003123 RID: 12579
		public const int GroupIdListFieldNumber = 10;

		// Token: 0x04003124 RID: 12580
		private static readonly FieldCodec<uint> _repeated_groupIdList_codec = FieldCodec.ForUInt32(82U);

		// Token: 0x04003125 RID: 12581
		private readonly RepeatedField<uint> groupIdList_ = new RepeatedField<uint>();
	}
}
